import { get } from '@/utils/request'

// 获取实时客流
export const get_visitor_center_api = (params) =>
  get('/app/api/whole/getRealTimeFlow', params)
// 获取游客投诉统计
export const getTouristComplaintStatistics = (params) =>
  get('/app/api/touristService/getTouristComplaintStatistics', params)
// 获取游客评价统计
export const getTouristEvaluateStatistics = (params) =>
  get('/app/api/touristService/getTouristEvaluateStatistics', params)

// 获取环境监测实况
export const get_environmental_monitoring_api = (params) =>
  get('/app/api/whole/getEnvironment', params)

// 获取营收排行榜
export const get_income_ranking_api = (params) =>
  get('/app/api/whole/getRevenueRanking', params)

// 获取经营态势
export const get_business_situation_api = (params) =>
  get('/app/api/whole/getBusinessSituation', params)

// 获取交通运行态势
export const get_traffic_serve_api = (params) =>
  get('/app/api/whole/getTrafficRunSituation', params)

// 获取设备状态统计
export const get_facility_status_api = (params) =>
  get('/app/api/whole/getEquipmentStatusStatistics', params)

// 获取资产使用统计
export const get_property_list_api = (params) =>
  get('/app/api/whole/getPropertyUseStatistics', params)

// 获取资产使用统计
export const get_alarm_events_api = (params) =>
  get('/app/api/whole/getSecuritySituation', params)
